<div class="topbar-nav topbar-right-menu">
    <div class="topbar-nav-menu">
        <a href="javascript:;" id="adminName">管理员</a>
    </div>
    <div class="topbar-nav-menu">
        <a s="click" s-click="S.get('/api/admin/logout').done(function (rs) {location.reload();});" >退出</a>
    </div>
</div>
<script type="text/javascript">
        if(localStorage.adminName){
            S.N("#adminName").text(localStorage.adminName);
        }
</script>